Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update next to avoid issue during build #142

Open
wants to merge 1 commit into
base: 23-nextjs-introduction
Choose a base branch
from

Conversation

lhartvik
Copy link

@lhartvik lhartvik commented Jun 8, 2023

I had an issue "Error: Cannot find module 'sharp'" while building the next project. I found this Stack Overflow: https://stackoverflow.com/questions/65894000/install-sharp-without-github-fetch-for-nextjs-error-cannot-find-module-sharp

Updating next to 10.2.3 worked for me
I am using node v16.15.0

I had an issue "Error: Cannot find module 'sharp'" while building the next project. I found this Stack Overflow: 
https://stackoverflow.com/questions/65894000/install-sharp-without-github-fetch-for-nextjs-error-cannot-find-module-sharp

Updating next to 10.2.3 worked for me
@lhartvik
Copy link
Author

lhartvik commented Jun 8, 2023

I also tried to create a pull request using a different tool, but it disappeared for me.
I hope I didnt make duplicate pull requests!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant